<!-- 
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <title>根据城市设置城市中心点</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <style>
        body,
        html,
        #container {
            overflow: hidden;
            width: 100%;
            height: 100%;
            margin: 0;
            font-family: "微软雅黑";
        }
        </style>
        <script src="http://api.map.baidu.com/api?type=webgl&v=1.0&ak=fhZVRIufSiwbAEqaBupDjH04KsQeV3tW"></script>
    </head>
    <body>
        <div id="container"></div>
    </body>
    </html>
    <script>
    var map = new BMapGL.Map('container'); // 创建Map实例
    map.centerAndZoom('上海市', 12); // 初始化地图,设置中心点坐标和地图级别
    map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放
    </script> -->
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            body,
            html,
            #container {
                overflow: hidden;
                width: 100%;
                height: 100%;
                margin: 0;
                font-family: "微软雅黑";
            }
            </style>
    </head>
    <script src="http://api.map.baidu.com/api?type=webgl&v=1.0&ak=fhZVRIufSiwbAEqaBupDjH04KsQeV3tW"></script>
    <body>
        <body>
            <div id="container"></div>
        </body>
        </html>
        <script>
        var map = new BMapGL.Map('container'); // 创建Map实例
        map.centerAndZoom('上海市', 12); // 初始化地图,设置中心点坐标和地图级别
        map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放
        </script> -->
    </body>
    </html>